package cc.yiueil.mapper;

import cc.yiueil.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int insertUser(User user);

    int updateUser(User user);

    User selectUserById(Long id);

    List<User> selectUserByUserInfo(User user);

    List<User> selectUserList();

    int deleteUserById(Long id);

    int deleteUserByIds(@Param("ids") List<Long> ids);
}
